<?php if($user->isAuthenticated()){ ?>
    <div id="add_log_message_form" style="display:none;">
        <form id="frm_add_log_message">
            <div class="form" style="height:500px; width:600px;">
                <div class="from_field"><div class="form_label">Title</div><div class="form_textbox_input"><input type="text" id="txt_title" name="txt_title" maxlength="256" value="test" /></div></div>
                <div class="from_field"><div class="form_label">Date</div><div class="form_textbox_input"><input type="text" id="txt_date" name="txt_date" value="2011-07-07 16:00:00" /></div></div>
                <div class="from_field"><div class="form_label">Message</div><div class="form_textarea_input"><textarea cols="50" rows="10" id="txt_message" name="txt_message" text="test"></textarea></div></div>
                <div class="from_field"><div class="form_label">Address</div><div class="form_textbox_input"><input type="text" id="txt_address" name="txt_address" style="width:400px;" /></div></div>
                <div class="from_field"><div class="form_label">Lat</div><div class="form_textbox_input"><input type="text" id="txt_lat" name="txt_lat" /></div></div>
                <div class="from_field"><div class="form_label">Lng</div><div class="form_textbox_input"><input type="text" id="txt_lng" name="txt_lng" /></div></div>
                <div id="form_message" style="display:none;"></div>
                <div class="form_button"><input type="button" value="Save" id="btn_save_log_message"  /></div>
            </div>
        </form>
    </div>
<?php } ?>